@extends('layouts.master')

@section('title')
    收款记录添加——钢链网管理后台
@stop

@section('app_css')
    <link rel="stylesheet" href="/resource/css/bootstrap.min.css">
    <link rel="stylesheet" href="/resource/css/font-awesome.min.css">
    <link rel="stylesheet" href="/resource/css/animate.min.css">
    <link rel="stylesheet" href="/resource/css/custom.css">
    <link rel="stylesheet" href="/resource/css/green.css">
    <link rel="stylesheet" href="/resource/css/fileinput.min.css">
    <link rel="stylesheet" href="/resource/css/bootstrap-datetimepicker.css">
@stop

@section('app_js')
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script src="/resource/js/jquery.min.js"></script>
    <script src="/resource/js/bootstrap.min.js"></script>
    <script src="/resource/js/custom.js"></script>
    <!-- icheck -->
    <script src="/resource/js/icheck.min.js"></script>
    <!-- Datatables -->
    <script src="/resource/js/jquery.dataTables.js"></script>
    <script src="/resource/js/J_main.js"></script>
    <!-- 添加图片 -->
    <script src="/resource/js/fileinput.min.js"></script>
    <script src="/resource/js/fileinput_locale_zh.js"></script>
    {{--时间--}}
    <script src="/resource/js/bootstrap-datetimepicker.min.js"></script>
    <script src="/resource/js/bootstrap-datetimepicker.zh-CN.js"></script>
    <script>
        //时间
        $('#time_created').datetimepicker({
            format: 'yyyy-mm-dd hh:ii',
            autoclose:true,
            todayBtn:true,
            language:'zh-CN',
            minView:1,
        });
    </script>
@stop

@section('content')
    <body class="nav-md">

    <div class="container body">


        <div class="main_container">

            @include('common.admin_menu')

            <!-- top navigation -->
            @include('common.admin_nav')
            <!-- /top navigation -->


            <!-- page content -->
            <div class="right_col" role="main">

                <div class="">

                    <div class="row cont">

                        <div class="col-md-6 col-sm-12 col-xs-12">
                            <div class="x_panel">
                                <div class="x_title">
                                    <h2>收款记录添加 <small>收款记录添加</small></h2>
                                    <div class="clearfix"></div>
                                </div>

                                <div class="x_content">
                                    <br />
                                    {{ Form::open(['url'=>'/admin/order_pay_add', 'files' => true, 'method' => 'post']) }}
                                        <div class="form-group">
                                            <label class="control-label col-md-2 col-sm-2 col-xs-12" for="first-name">支付金额
                                            </label>
                                            <div class="col-md-10 col-sm-10 col-xs-12">
                                                <input type="text" id="first-name" required="required" class="form-control col-md-7 col-xs-12" name="amount">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-md-2 col-sm-2 col-xs-12" for="last-name">支付方式
                                            </label>
                                            <div class="col-md-10 col-sm-10 col-xs-12">
                                                <select name="payment" class="form-control col-md-7 col-xs-12" >
                                                    <option value="0" >京东支付</option>
                                                    <option value="1" >现金支付</option>
                                                    <option value="2" >银行转账</option>
                                                    <option value="3" >银行承兑汇票</option>
                                                </select>
                                            </div>

                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-md-2 col-sm-2 col-xs-12" for="first-name">账户
                                            </label>
                                            <div class="col-md-10 col-sm-10 col-xs-12">
                                                <input type="text"  class="form-control col-md-7 col-xs-12" name="account">
                                            </div>
                                        </div>
                                    <div class="form-group">
                                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="first-name">开户行
                                        </label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            <input type="text"  class="form-control col-md-7 col-xs-12" name="bank_account">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-md-2 col-sm-2 col-xs-12" for="first-name">开户人
                                        </label>
                                        <div class="col-md-10 col-sm-10 col-xs-12">
                                            <input type="text"  class="form-control col-md-7 col-xs-12" name="account_user">
                                        </div>
                                    </div>
                                        <div class="form-group">
                                            <label class="control-label col-md-2 col-sm-2 col-xs-12" for="first-name">时间
                                            </label>
                                            <div class="col-md-10 col-sm-10 col-xs-12">
                                                <input type="text" id="time_created" required="required" class="form-control col-md-7 col-xs-12" name="created">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="control-label col-md-2 col-sm-2 col-xs-12" for="last-name">备注
                                            </label>
                                            <div class="col-md-10 col-sm-10 col-xs-12">
                                                <textarea name="message" class="form-control col-md-7 col-xs-12"></textarea>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="middle-name" class="control-label col-md-2 col-sm-2 col-xs-12">附件</label>
                                            <div class="col-md-10 col-sm-10 col-xs-12">
                                                <input type="file" class="file form-control col-md-7 col-xs-12" name="enclosure">
                                            </div>
                                        </div>

                                        <input type="hidden" value="{{$order_id}}" name="order_id">
                                        <div class="ln_solid"></div>
                                        <div class="form-group">
                                            <div class="col-md-10 col-sm-10 col-xs-12 col-md-offset-3">
                                                <button type="submit" class="btn btn-primary">取消</button>
                                                <button type="submit" class="btn btn-success">提交</button>
                                            </div>
                                        </div>

                                    {{ Form::close() }}

                                </div>
                            </div>
                        </div>

                        <br />
                        <br />
                        <br />

                    </div>
                </div>

                <!-- footer content -->

                <footer>
                    <div class="">
                        <p class="pull-right">Copyright 2016 mutouw.com All rights reserved. |
                            <span class="lead"> <i class="fa fa-logo-footer"></i> 钢链网后台管理系统</span>
                        </p>
                    </div>
                    <div class="clearfix"></div>
                </footer>
                <!-- /footer content -->
            </div>
            <!-- /page content -->

        </div>
    </div>

    <div id="custom_notifications" class="custom-notifications dsp_none">
        <ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
        </ul>
        <div class="clearfix"></div>
        <div id="notif-group" class="tabbed_notifications"></div>
    </div>
    </body>
@stop